package net.portly.cst.flex;

import net.portly.cst.AssetTypeDescriptor;

public enum FlexItemType {
// @formatter:on
	ATTRIBUTE("FlexAttribute", AssetTypeDescriptor.COM_OPENMARKET_GATOR_ATTRIBUTES_ATTRIBUTE_MANAGER), 
	FLEXASSET("FlexAsset", AssetTypeDescriptor.COM_OPENMARKET_GATOR_FLEXASSETS_FLEX_ASSET_MANAGER), 
	FLEXDEF("FlexDefinition", AssetTypeDescriptor.COM_OPENMARKET_GATOR_FLEXTEMPLATES_FLEX_TEMPLATE_MANAGER), 
	PARENT("Parent", AssetTypeDescriptor.COM_OPENMARKET_GATOR_FLEXGROUPS_FLEX_GROUP_MANAGER),
	PARENTDEF("ParentDef", AssetTypeDescriptor.COM_OPENMARKET_GATOR_FLEXGROUPTEMPLATES_FLEX_GROUP_TEMPLATE_MANAGER), 
	FILTER("FlexFilter", AssetTypeDescriptor.COM_OPENMARKET_GATOR_FLEXFILTERS_FLEX_FILTER_MANAGER), 
	PAGEDEF("PageDefinition", AssetTypeDescriptor.COM_OPENMARKET_GATOR_PAGE_PAGE_DEFINITION_MANAGER), 
	PAGEATTR("PageAttribute", AssetTypeDescriptor.COM_OPENMARKET_GATOR_PAGE_PAGE_ATTRIBUTE_MANAGER), 
	PAGEFILTER("PageFilter", AssetTypeDescriptor.COM_OPENMARKET_GATOR_PAGE_PAGE_FILTER_MANAGER);
//	@formatter:off
	
	private String type;
	private String complexAssetClass;

	private FlexItemType(String flextype, String complexAssetClass) {
		this.type = flextype;
		this.complexAssetClass = complexAssetClass;
	}

	public String getType() {
		return type;
	}

	public String getComplexAssetClass() {
		return complexAssetClass;
	}

}
